{if $showtype==1} {loop $announces $announce} •{$announce[title]} {if $showauthor} [作者︰{$announce[author]}] {/if} {if $showdate} [{$announce[adddate]}] {/if} {/loop} {elseif $showtype==2}